import request from "@/utils/request";

//读取OA接口配置列表
export function getOAInterfaceConfigListRequest() {
  return request({
    url: "/plat/config/oa/list",
    method: "get"
  });
}

//保存OA接口配置修改
export function saveOAInterfaceConfigRequest(data) {
  return request({
    url: "/plat/config/oa/save",
    method: "post",
    data: data
  });
}

//删除OA接口配置
export function deleteOAInterfaceConfigRequest(id) {
  return request({
    url: "/plat/config/oa/delete/" + id,
    method: "delete"
  });
}
